<template>
  <img alt="Vue logo" src="../assets/logo.png" />
  <HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
  <div>{{ b }}</div>
</template>

<script lang="ts" setup>

import { computed } from 'vue'
import HelloWorld from '/@/components/HelloWorld.vue'
import { useCounterStore } from '/@/store/index';
const counterStore = useCounterStore();
const b = computed(() => counterStore.b)

</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
